#pragma once
#include "WindowManager.h"
#include "Ground.h"
#include <Box2D/Box2D.h>
#include <string>
class Monster
{
private:
	b2World* world;
	WindowManager* window;
	b2Body* body;

	float health;

	float width;


	bool movingRight;

	float additional;

public:
	Monster(b2World* wo, WindowManager* win, float x);
	~Monster(void);

	bool drawMonster();

	void hit(float amount, bool trans);
	void hit(float amount, sf::Vector2f loc);

	sf::Vector2f getPosition(void);

	float getHealthDecimal(void);

	sf::Vector2f getRectangle();

	void move(void);

	void addAdditional(float amount);

	void reset(void);
};

